package com.example.cinemaorder.service;

import com.example.cinemaorder.entity.vo.SearchMovieVo;
import com.example.cinemaorder.entity.vo.UpdateMovieSaleVo;

/**
 * @author 高垚淼
 * @version 1.0
 */
public interface SysSessionService {
    Object findSessionById(Long id);

    Object findPosterByid(Long id);

    Object findMovieCategoryById(Long id);

    Object findNameById(Long id);

    Object getNewSeats(Long id);

    void updateSeats(Long id,int updateSallNums,String sessionSeats);

    void updateSallNums(Long sessionId, int i);

    void updateSession(SearchMovieVo curSession);

    void updateCancelState(Long billId);

    void updateMovieSale(UpdateMovieSaleVo updateMovieSaleVo);

    Long getMovieId(Long billId);

    void updateMovieRating();
}
